package com.example.api.service;

import com.example.common.entity.CallbackConfig;
import com.example.common.entity.OpenApiApp;
import com.example.common.entity.vo.AppInfoVO;

/**
 * @author DestinyCc
 * @date 2022/4/15
 */
public interface OpenApiAppService {
    /**
     * 创建开放平台app
     * @param email
     * @return
     */
    AppInfoVO createApp(String email);

    OpenApiApp getAppByAppIdAndSecret(String appId, String appSecret);
    /**
     * update
     * @param apiApp
     */
    void updateByPrimaryKeySelective(OpenApiApp apiApp);

    CallbackConfig getCallbackCfgByIdAndAppId(String id, String appId);
}
